#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QAction>
#include "centralwidget.h"

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = 0);
    ~MainWindow();

//    const TorrentClient *MainWindow::clientForRow(int row) const
//    {
//        // Return the client at the given row.
//        return jobs.at(row).client;
//    }

private:
    CentralWidget *m_centralWidget;
    QAction *m_newJobAction;
    QAction *m_resumeJobAction;
    QAction *m_pauseJobAction;
    QAction *m_removeJobAction;

private slots:
    void newJob();
    void resumeJob();
    void pauseJob();
    void removeJob();
};

#endif // MAINWINDOW_H
